@parentH: 450px;

main {
    display: flex;
    height: @parentH;
    margin-right: 18px;
    width: 100%;
    margin-top: 120px;

    .product-img {
        position: relative;
        height: 100%;
        width: 450px;
        background-color: #efefef;

        img {
            display: block;
            height: 100%;
            // 按照父元素尺寸等比缩放
            width: calc((@parentH / 1000) * 750px);
            margin: auto;
        }

        .zoom {
            position: absolute;
            top: 0;
            right: -20px;
            transform: translateX(100%);
            background-image: url(../assets/image/product.png);
            background-size: 750px 1000px;
            background-repeat: no-repeat;
            width: calc((450 / 1000) * 750px);
            height: 100%;
            // 固定图片值，可动态获取
            border-radius: 10px;
            border: 1px solid #fff;
            overflow: hidden;
            z-index: 2;
            user-select: none;
           visibility: hidden;
        }

        .tools {
            // width: calc(750px / 4);
            // height: calc(1000px / 4);
            display: none;
            background: rgba(129, 167, 249, 0.485);
            position: absolute;
            left: 0;
            top: 0;
            z-index: 2;
            user-select: none;

        }
    }

    .product-info {
        flex: 4;
        background: #9f9f9f;
    }

}